loadScript("codename.js");

function interpret_member_status_code(main_code, sub_code, changed_case_code) {
	if(main_code == "US010203" && sub_code == "US010306") {
		document.write("가입신청");
	}
	else if (
			(main_code == "US010201" && sub_code == 'US010319')
			|| (main_code == "US010201" && sub_code == "US010301" && (changed_case_code == "US001501" || changed_case_code == "US001502" || changed_case_code == "US001503"))
			) {
		document.write("가입완료");
	}
	else if (main_code == "US010201" && (sub_code == "US010311" || sub_code == "US010312")) {
		document.write("전환신청");
	}
	else if (main_code == "US010201" && sub_code == "US010301" &&
			(changed_case_code == "US001504" || changed_case_code == "US001505" || changed_case_code == "US001506" || changed_case_code == "US001507")) {
		document.write("전환완료");
	}
	else if (main_code == "US010201" && sub_code == "US010313") {
		document.write("전환거절");
	}
	else if (main_code == "US010202" && sub_code == "US010302") {
		document.write("탈퇴신청");
	}
	else if (main_code == "US010202" && (sub_code == "US010303" || sub_code == "US010317")) {
		document.write("탈퇴완료");
	}
	else if (main_code == "US010201" && sub_code == "US010305") {
		document.write("정산승인신청");
	}
	else if (main_code == "US010201" && sub_code == "US010315") {
		document.write("정산승인거절");
	}
	else {
		codename(sub_code);
	}
}



